/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package runebound.random;

/**
 *
 * @author Miguel (alakat@gmail.com)
 */
public class Tirada {
    private int d1;
    private int d2;

    public Tirada(int d1, int d2) {
        this.d1 = d1;
        this.d2 = d2;
    }

    
    /**
     * @return the d1
     */
    public int getD1() {
        return d1;
    }

    /**
     * @return the d2
     */
    public int getD2() {
        return d2;
    }
    
    public int getTotal(){
        return d1+d2;
    }

    @Override
    public String toString() {
        return "Tirada: "+this.getD1()+"+"+this.getD2()+":"+this.getTotal();
    }
    
    
    
    
}
